package com.raychi.demo.entity;

import java.util.ArrayList;
import java.util.List;

public class Product {
	private String name;
	private float price;
	private int stock; //���
	private int id;
	private List<Buyer> buyers = new ArrayList<Buyer>();
	private int catId;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	
	
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
	
	
	
	public int getStock() {
		return stock;
	}
	public void setStock(int stock) {
		this.stock = stock;
	}
	public List<Buyer> getBuyers() {
		return buyers;
	}
	public void setBuyers(List<Buyer> buyers) {
		this.buyers = buyers;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getCatId() {
		return catId;
	}
	public void setCatId(int catId) {
		this.catId = catId;
	}

	
}
